import request from "@/utils/request";

/**
 * 计划完成率
 * @returns {*}
 */
export function listPlanFinishRate(params) {
    return request({
        url: "/mes/mesBoardController/listPlanFinishRate",
        method: "get",
        params
    });
}

/**
 * 在产情况
 * @returns {*}
 */
export function listPlanSituation(params){
    return request({
        url: "/mes/mesBoardController/listPlanSituation",
        method: "get",
        params
    });
}
/**
 * 年度完成情况数量折线图
 * @returns {*}
 */
export function listPlanLine(params){
    return request({
        url: "/mes/mesBoardController/listPlanLine",
        method: "get",
        autoUntie: false,
        params
    });
}

/**
 * 在产品停工情况
 * @returns {*}
 */
export function listProblem(params){
    return request({
        url: "/mes/mesBoardController/listProblem",
        method: "get",
        autoUntie: false,
        params
    });
}

/**
 * 生产问题年度统计
 * @returns {*}
 */
export function listNonconformingLine(params){
    return request({
        url: "/mes/mesBoardController/listNonconformingLine",
        method: "get",
        autoUntie: false,
        params
    });
}

/**
 * 年度停工原因分布情况
 * @returns {*}
 */
export function listProblemClassify(params){
    return request({
        url: "/mes/mesBoardController/listProblemClassify",
        method: "get",
        autoUntie: false,
        params
    });
}

/**
 * 设备工具情况
 * @returns {*}
 */
export function listDeviceAccount(params){
    return request({
        url: "/mes/mesBoardController/listDeviceAccount",
        method: "get",
        autoUntie: false,
        params
    });
}

